position relative get in center

68

position: relative; 
left: 50%;
transform: translateX(-50%);
#your_element{
    position:absolute;
    left: calc(50% + 200px);
}

Comments

Submit
0 Comments